package heima3_2.cn.osc.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import java.util.List;

import heima3_2.cn.osc.base.BaseHolder;
import heima3_2.cn.osc.base.MyBaseAdapter;
import heima3_2.cn.osc.hold.CallMeHolder;
import heima3_2.cn.osc.model.bean.ActiveBean;

/**
 * Created by yaozhanlie on 2017/1/13.
 */

public class CallMeAdapter extends MyBaseAdapter<ActiveBean> {


    public CallMeAdapter(Context context, List<ActiveBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder<ActiveBean> createViewHolder(Context context, ViewGroup parent, ActiveBean bean, int position) {
        return new CallMeHolder(context,parent,this,position,bean);
    }
}
